﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    
    @*<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>*@
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    @if ((Request.Browser.Browser == "IE") && ((Request.Browser.MajorVersion < 12)))
    {
        <link href="@Url.Content("~/Content/Site1.css")" rel="stylesheet" type="text/css" />;
    }
    else
    {
        <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    }
    <link href="@Url.Content("~/Content/Marquee/style.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/Content/Login/style.css")" rel="stylesheet" type="text/css"/>   
    <link href="@Url.Content("~/Content/Megamenu/Megamenu.css")" rel="stylesheet" type="text/css" />
    <!----------------------------------------------------------------------------------------------->
    @*<link href="@Url.Content("~/Content/Body/style.css")" rel="stylesheet" type="text/css"/>    
    <link href="@Url.Content("~/Content/Body/dashboard.css")" rel="stylesheet" type="text/css"/> 
    <link href="@Url.Content("~/Content/Body/horizontal_slider.css")" rel="stylesheet" type="text/css"/> 
    <link href="@Url.Content("~/Content/Body/superfish.css")" rel="stylesheet" type="text/css"/> 
    <link href="@Url.Content("~/Content/Body/tooltip.css")" rel="stylesheet" type="text/css"/> *@    
    <!----------------------------------------------------------------------------------------------->
    <link href="@Url.Content("~/Content/Body/reset.css")" rel="stylesheet" type="text/css"/>    
    <link href="@Url.Content("~/Content/Body/grid.css")" rel="stylesheet" type="text/css"/> 
    <link href="@Url.Content("~/Content/Body/styles.css")" rel="stylesheet" type="text/css"/> 
    <link href="@Url.Content("~/Content/Body/jquery.wysiwyg.css")" rel="stylesheet" type="text/css"/> 
    <link href="@Url.Content("~/Content/Body/tablesorter.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/Content/Body/thickbox.css")" rel="stylesheet" type="text/css"/> 
    <link href="@Url.Content("~/Content/Body/theme-blue.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/Content/Body/Report.css")" rel="stylesheet" type="text/css"/>    
    <!----------------------------------------------------------------------------------------------->
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/EditorHookup.js")" type="text/javascript"></script>
        
    <!----------------------------------------------------------------------------------------------->
    <script src="@Url.Content("~/Content/Body/jquery.tablesorter.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Body/jquery.tablesorter.pager.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Body/jquery.pstrength-min.1.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Body/thickbox.js")" type="text/javascript"></script>
    <!-----------------------------------------------------------------------------------------------> 
    @*<style>
        .menu li ul li.parent_li
        {display:block}
    </style> 
    @{
      if(Session["quyen"]!=null)
      {
        Dictionary<int, int> quyen = (Dictionary<int, int>)Session["quyen"];        
            foreach(var value in quyen)
            {   
                <style> 
                #_@(value.Value)
                {display:block}
                </style>            
            } 
        }
      }
    <style>
        .menu li ul li
        {display:block}
    </style>*@   
    @if (Session["quyen_id"] != null && Convert.ToInt32(Session["quyen_id"]) > 2)
      {
         <style> 
              #_10
              {display:none}
         </style>
      } 
    @* -----------edit by namtd 06/03/2014------------- *@    

    <!-- Initiate tablesorter script -->
    <script type="text/javascript">
        $(document).ready(function () {
            $("#myTable")
			.tablesorter({
				// zebra coloring
				widgets: ['zebra'],
				// pass the headers argument and assing a object 
				headers: {
				    // assign the sixth column (we start counting zero) 
				    6: {
				        // disable it by setting the property sorter to false 
				        sorter: false
				    }
				}
			})
		.tablesorterPager({ container: $("#pager") });
        }); 
	</script>
    
</head>
<body>   
<div class="ie_check">Chương trình không sử dụng trên IE. Vui lòng sử dụng Chrome hoặc Firefox!</div>
<div class="page">     
    <header>
        <div class="banner" align="center">
            <div class="bgbanner" align="center"><img src="@Url.Content("~/Content/themes/base/images/Banner.png")" width="100%"/></div>
            @RenderPage("Marquee.cshtml") 
            @RenderPage("mega_menu.cshtml") 
            </div>
        </header>     
        <section id="main">
            @RenderBody()
        </section>
        <footer>
            <div class="footer" align="center"><img src="@Url.Content("~/Content/themes/base/images/Footer.png")" width="100%" /></div>
        </footer>
    </div>
</body>
</html>
